package com.htzz.collection.dao;

import com.htzz.collection.bean.DevInfoEntity;
import com.htzz.collection.domain.DevInfoDto;
import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * 
 * @author xdz
 * @email ixudezhi@163.com
 * @date 2021-08-31 09:13:01
 */
@Mapper
public interface DevInfoDao {

    int insert(DevInfoEntity entity);

    int deleteById(Serializable id);

    void deleteByDevId(String devId);

    int updateById(DevInfoEntity entity);

    int updateByDevId(DevInfoEntity entity);

    DevInfoEntity selectById(Serializable id);

    DevInfoEntity selectByDevId(String devId);

    List<DevInfoEntity> selectList(DevInfoDto dto);

}
